package com.ph.irp.sell.dao;

import java.util.List;

import com.ph.irp.model.PSellSellprice;


public interface SellPriceDao {
	/**
	 * 销售报价
	 * 
	 * @author weide
	 * @version 1.0 <br>
	 * Copyright (C), 2009,  <br>
	 * This program is protected by copyright laws. <br>
	 * Program Name: MeasureUnitDAO.java<br>
	 * Date:2009-12-28
	 */
	
	
	
	public void addSellPrice(PSellSellprice sellprice)throws Throwable;
	
	public int getSellPriceId(String code) throws Throwable;
	
	public List<PSellSellprice> getAllSellPrice()throws Throwable;
	
	public List<PSellSellprice> getSellPriceByCondition(PSellSellprice sellprice)throws Throwable;
	
	public PSellSellprice getSellPriceById(int sellPriceId)throws Throwable;
	
	public String getNewestSellPriceCode() throws Throwable;
	
	public void deleteSellPrice(int id) throws Throwable;
	
	public List<PSellSellprice> getSellPriceListById(int sellPriceId)throws Throwable;
}
